package com.cskaoyan.mapper;

import com.cskaoyan.bean.*;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CategoryIdMapper {
    long countByExample(CategoryIdExample example);

    int deleteByExample(CategoryIdExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CategoryId record);

    int insertSelective(CategoryId record);

    List<CategoryId> selectByExample(CategoryIdExample example);

    CategoryId selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CategoryId record, @Param("example") CategoryIdExample example);

    int updateByExample(@Param("record") CategoryId record, @Param("example") CategoryIdExample example);

    int updateByPrimaryKeySelective(CategoryId record);

    int updateByPrimaryKey(CategoryId record);

    List<CategoryList> selectCategoryList();

    List<Children> selectChildrenList(@Param("value") Integer value);

    List<CategoryListVO> selectCategoryListVO(Integer pid);

    List<CategoryChildren> selectCategoryChildren(Integer pid);

    List<CategoryVO> selectCategoryVO(Integer pid);

    CategoryCreateVO selectCategoryCreateVO(Integer id);
}